package com.acme.task4;

public class Task4Arrays {
	public static void main(String[] args) {

	int array[] = new int[10];
	array[0] = 3;
	array[1] = 7;
	array[2] = 3;
	array[3] = 3;
    array[4] = 3;
    array[5] = 9;
    array[6] = 7;
    array[7] = 9;
    array[8] = 3;
    array[9] = 7;

    int numberOfNumber3 = 0;
    int numberOfNumber7 = 0;
    int numberOfNumber9 = 0;

    for (int i = 0; i < 10; i++) {
        switch (array[i]) {
        case 3:
        	numberOfNumber3++;
            break;
        case 7:
        	numberOfNumber7++;
            break;
        case 9:
        	numberOfNumber9++;
            break;
        default:
            break;
        }
    }
    	
	//TODO: print the following
    System.out.println("Number of 3: " + numberOfNumber3);
    System.out.println("Number of 7: " + numberOfNumber7);
    System.out.println("Number of 9: " + numberOfNumber9);
	}
}

